---
page_title: "cloudflare_tunnel Data Source - Cloudflare"
subcategory: ""
description: |-
  Use this datasource to lookup a tunnel in an account.
---

# cloudflare_tunnel (Data Source)

Use this datasource to lookup a tunnel in an account.

## Example Usage

```terraform
data "cloudflare_tunnel" "example" {
  account_id = "f037e56e89293a057740de681ac9abbe"
  name       = "my-tunnel"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `account_id` (String) The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
- `name` (String) Name of the tunnel. **Modifying this attribute will force creation of a new resource.**

### Read-Only

- `id` (String) ID of the tunnel.
- `remote_config` (Boolean) Whether the tunnel can be configured remotely from the Zero Trust dashboard.
- `status` (String) The status of the tunnel. Available values: `inactive`, `degraded`, `healthy`, `down`.
- `tunnel_type` (String) The type of the tunnel. Available values: `cfd_tunnel`, `warp_connector`.


